#region Using Statements
using System;
using System.Collections.Generic;//using System.Xml.Serialization;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Storage;
#endregion



namespace Pauliver
{
    [Serializable]
    class Debug_Rectangle_Collision : Debug_Rectangle
    {
        public Debug_Rectangle_Collision()
            : base(Color.Green)
        {
            base._Type = ComponentType.Debug_Rectangle_Collision;
        }

        public override void Update(GameTime p_time)
        {
            base.Update(p_time);
            base._DrawRectangle = (Parent[ComponentType.Collidable] as Collidable).GetBoundingBox;
 	    }
    }

}